<div class="wrapper right-box-wrapper">
    <div class="right-box-title"><a href="#" title="Tin tức" class="right-box-caption"><h2>Tin tức</h2></a></div>
    <div class="right-box-content">
        
        <!--post-->
        <div class="post-wrapper">
        <?php
			$i=0;
        	foreach($baiviettrangchu as $baiviet):
			$i++;
			if($i>1)
				continue;
		?>
        <?php
			if(!empty($baiviet->hinhanh))
				echo '<img src="'.$baiviet->hinhanh.'" class="float-left margin-right-10px" width="194"  style="margin-right: 8px; border: solid 1px #ccc; padding: 2px;">';
        ?>
        
        <h5 class="uppercase"><?=$baiviet->tieude?></h5>
        <p>
        <?=strip_tags($baiviet->mota)?>
        </p>
        <div style="clear:both; float:left; margin-top:10px; text-align:justify">
	        <?=$baiviet->noidung?>
        </div>
        <?php
        	endforeach;
		?>
        </div>
            
        <!--/post-->
           <style type="text/css">
		   	.ul_tinkhac_home li{
				background:url(images/s-bullet.png) no-repeat left;
				padding-left:12px;
				line-height:17px;
			}
			.ul_tinkhac_home li a:hover{
				text-decoration:underline;
			}
		   </style>
        <ul class="ul_tinkhac_home">
        	<?php
				$i=0;
            	foreach($baiviettrangchu as $baiviet):
				$i++;
				if($i==1)
					continue;
			?>
	        	<li><a href=""><?=$baiviet->tieude?></a></li>
            <?php
            	endforeach;
			?>
        </ul>
    </div>
    <div class="right-box-shadow"></div>
</div>